//字面量类型+联合类型
let money:100 | 50 | 20 | 10 | 5 |  1

money = 100
money = 50
money = 20
money = 10
money = 5
money = 1

console.log(money);


//字面量类型+联合类型
let buttonType: 'primary' | 'success' | 'warning' | 'danger' 
buttonType = 'success'
console.log(buttonType);
